<HTML><HEAD><TITLE>defined_modules(+File, -Modules)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(instrument)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>defined_modules(+File, -Modules)</H1>
Retrieve the modules defined by a file.
<DL>
<DT><EM>File</EM></DT>
<DD>Atom or string
</DD>
<DT><EM>Modules</EM></DT>
<DD>List of atoms
</DD>
</DL>
<H2>Description</H2>
<P>
   It is often necessary to know what modules a file has defined in order 
   to operate on module specific data.  This predicate can be used to return 
   the modules defined by a file which has been compiled with the instrument 
   compiler.
<H3>Fail Conditions</H3>
no
<H3>Resatisfiable</H3>
no
<H2>See Also</H2>
<A HREF="../../lib/instrument/get_callsite_data-2.html">get_callsite_data / 2</A>, <A HREF="../../lib/instrument/file_callsites-3.html">file_callsites / 3</A>, <A HREF="../../lib/instrument/instrument-2.html">instrument / 2</A>, <A HREF="../../lib/instrument/instrument-3.html">instrument / 3</A>, <A HREF="../../lib/instrument/index.html">library(instrument)</A>, <A HREF="../../lib/instrument/set_callsite_data-2.html">set_callsite_data / 2</A>, <A HREF="../../lib/instrument/itemplate-s.html">struct(itemplate)</A>, <A HREF="../../lib/instrument/defined_modules-2.html">defined_modules / 2</A>
</BODY></HTML>
